package com.muyu.system.danmo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 微信支付配置
 * </p>
 *
 * @author 作者
 * @since 2025-04-06
 */
@Getter
@Setter
@TableName("wechat_pay_config")
public class WechatPayConfig extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 商户编号(本系统)
     */
    @TableField("mch_code")
    private String mchCode;

    /**
     * 商户号
     */
    @TableField("mch_id")
    private String mchId;

    /**
     * apiKey
     */
    @TableField("api_key")
    private String apiKey;

    /**
     * apiV3Key
     */
    @TableField("api_v3_key")
    private String apiV3Key;

    /**
     * api证书
     */
    @TableField("api_cert")
    private String apiCert;

    /**
     * api证书密钥
     */
    @TableField("api_cert_key")
    private String apiCertKey;

    /**
     * 商户证书序列号
     */
    @TableField("merchant_serial_number")
    private String merchantSerialNumber;

    /**
     * 商户私钥
     */
    @TableField("merchant_private_key")
    private String merchantPrivateKey;

    /**
     * appid
     */
    @TableField("app_id")
    private String appId;
}
